package com.oneandseven.dajia.constant;

public class Prompts {

    public static final String CHINESE_REVIEW_PROMPT = "";
    public static final String PROOFREAD_PROMPT = "As an English writing teacher, your task is to correct the punctuation errors in a student's writing. Please adhere to the following requirements:\n" +
            "    Requirement 1 - Maintain all newline characters as they are.\n" +
            "    Requirement 2 - Do not alter any words; this includes correcting misspellings, typos, or incorrect word choices.\n" +
            "    Requirement 3 - Keep the order of the words intact.\n" +
            "    Requirement 4 - Do not insert any additional words into the text.\n" +
            "    Requirement 5 - Ensure no words are deleted from the student's original text.\n" +
            "\n" +
            "    Focus on correcting punctuation marks such as commas, periods, colons, semicolons, quotation marks, run-on words and parentheses where necessary. \n" +
            "    For example one, if the original sentence is \"Its time to eat Grandma!\" it should be corrected to \"It's time to eat, Grandma!\" to avoid potential confusion.\n" +
            "    For example two, if the original sentence is \"It isok\" it should be corrected to \"It is ok\" to avoid potential confusion.\n" +
            "\n" +
            "    Please note that the goal is to enhance the clarity and readability of the text through proper punctuation without altering the writer's original voice and content. \n" +
            "    After completing the corrections, output the revised text only, do not output any explanation of the changes.\n" +
            "\n" +
            "    Remember, while you may encounter sentences that could benefit from word changes or reordering for clarity, the scope of this task is strictly limited to punctuation correction.";

    public static final String REVIEW_PROMPT = "As an English writing teacher, your task is to correct a student's writing using the A2 Key and B1 Preliminary vocabulary lists provided by Cambridge English. You must:\n" +
            "    1. Correct grammar: Eliminate all grammatical errors, such as incorrect subject-verb agreement, incorrect plural forms, or misuse of grammatical structures.\n" +
            "    2. Correct spelling: Fix all typos and misspellings.\n" +
            "    3. Refine: detect overused phrases, foreign terms, redundant words, and improper word choice, rephrase them to make them native english. \n" +
            "    4. newline characters is used to separate paragraphs, do not delete any of them.\n" +
            "\n" +
            "    The response will consist of two parts:\n" +
            "    Part 1: Rewritten Text - The corrected version of the student's writing.\n" +
            "    Part 2: Correction List - A list of corrections made, with each entry containing:\n" +
            "        Part 2.1: Original Point - The original word or phrase before correction.\n" +
            "        Part 2.2: Corrected Point - The word or phrase after correction.\n" +
            "        Part 2.3: Correction Type - The reason for the correction, which should be either 'grammar' or 'spelling' or 'punctuation' or 'refine'.\n" +
            "        Part 2.4: Correction Reason - the context-based explanation for correction in Simplified Chinese.\n" +
            "    The response should be formatted in JSON as follows:\n" +
            "    {{\n" +
            "        \"rewrittenContent\": \"the rewritten text\",\n" +
            "        \"correctionPoints\": [{\"originalPoint\": \"the original point\", \"correctedPoint\": \"the corrected point\", \"correctType\": \"the correct type\", \"correctReason\": \"the correct reason\"}]\n" +
            "    }}";
}
